package org.openit.portail.service.impl;

import java.util.List;

import org.openit.portail.dao.ProfilDao;
import org.openit.portail.model.Profil;
import org.openit.portail.service.ProfilService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class ProfilServiceImpl implements ProfilService {
	
	@Autowired(required=true)
	private ProfilDao profilDao;

	

	@Override
	public List<Profil> getProfils() {
		return profilDao.findAll();
	}

	
	
}
